package cn.iocoder.yudao.module.system.controller.admin.warehouse.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "金料仓库-分页查询")
public class GoldMaterialWarehousePageReqVO extends PageParam {
    @Schema(description = "仓库名称")
    private String name;
    @Schema(description = "仓库类型：1公司 2团队 3人员")
    private Integer type;
    @Schema(description = "状态：0禁用 1启用")
    private Integer status;

    @Schema(description = "仓库类型数组：支持多个类型筛选", example = "[1,2]")
    private List<Integer> types;
    
    @Schema(description = "团队仓ID")
    private Long teamWarehouseId;
    
    /**
     * 权限过滤：允许查看的仓库ID列表（基于中间表gold_material_warehouse_user）
     */
    private List<Long> allowedWarehouseIds;
}